@import 'variables';
@import 'mixins';

.touch-medical-nav {
    position: relative;
    display: flex;
    display: -webkit-flex;
    background-color: #fff;
    > div {
        flex-grow: 1;
        > a {
            display: block;
            height: 120px;
            font-size: @font-size-small;
            line-height: 120px;
            color: @text-gray-color;
            text-align: center;
            > span {
                display: inline-block;
                padding-left: 80px;
                line-height: 120px;
                background-position: left center;
                background-repeat: no-repeat;
                background-size: 60px auto;
            }
        }
        &:nth-child(1) {
            & span {
                background-image: url(../images/icon/icon-medical1-1.png);
            }
            > a.active {
                > span {
                    background-image: url(../images/icon/icon-medical1-2.png);
                }
            }
        }
        &:nth-child(2) {
            & span {
                background-image: url(../images/icon/icon-medical2-1.png);
            }
            > a.active {
                > span {
                    background-image: url(../images/icon/icon-medical2-2.png);
                }
            }
        }
    }
    &:after {
        position: absolute;
        left: 50%;
        top: 50%;
        content: '';
        width: 1px;
        height: 20px;
        background-color: @border-line-color;
        .levelVerticalMiddle();
    }
}

.touch-medical-list {
    padding: 50px;
    > ul {
        width: 120%;
        > li {
            float: @float-left;
            width: 260px;
            height: 96px;
            margin-right: 20px;
            margin-bottom: 20px;
            padding-left: 25px;
            font-size: @font-size-big;
            color: @text-dec-color;
            line-height: 96px;
            background-image: url(../images/icon/icon-medical-dog1.png);
            background-repeat: no-repeat;
            background-position: right bottom;
            background-color: #fff;
            border-radius: @border-radius-big;
            &.active {
                background-image: url(../images/icon/icon-medical-dog2.png);
            }
            > a {
                display: block;
            }
        }
    }
    overflow: hidden;
}
